package com.wyk;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @author WangYuKai
 * @Date 2022/5/15
 * @apiNote
 */
@SpringBootApplication
//标明是干什么的(这个是服务端)
@EnableEurekaServer
@EnableDiscoveryClient
public class EurekaMain {
    public static void main(String[] args) {
        SpringApplication.run(EurekaMain.class,args);
    }
}
